-- GENERATED SPELL FOR [Stranglethorn Tigress] --


function spell0_772(pUnit, Event) --@Claw,n/a--
pUnit:FullCastSpellOnTarget(16831,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_772', 640, 1)
end

function spell1_772(pUnit, Event) --@Growl,n/a--
pUnit:FullCastSpellOnTarget(14918,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_772', 0, 1)
end

function Sorts_772(pUnit, Event)
local choix_sorts_772 = math.random(0, 1)
if choix_sorts_772 == 0 then
pUnit:RegisterEvent('spell0_772', 1, 1)
end
if choix_sorts_772 == 1 then
pUnit:RegisterEvent('spell1_772', 1, 1)
end
end

function mob772_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_772', math.random(1500, 3000), 1)
end

function mob772_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob772_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob772_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(772, 1, 'mob772_Action')
RegisterUnitEvent(772, 2, 'mob772_Leave')
RegisterUnitEvent(772, 3, 'mob772_Kill')
RegisterUnitEvent(772, 4, 'mob772_Die')
